{
  "properties" : { },
  "id" : "4c5e0c4983474abfbd4089684dbbe4fb",
  "script" : null,
  "groupId" : "b9ac03a509984e06b09354296dd81ab8",
  "name" : "删除",
  "createTime" : 1727070836631,
  "updateTime" : 1724980782254,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "remove",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\"ids\":\"1801531475335163905\"}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : {
    "name" : "root",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : null,
    "defaultValue" : null,
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "ids",
      "value" : "1801531475335163905",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    } ]
  },
  "responseBodyDefinition" : null
}
================================
ids = body.ids
idList = ids.split(",")

// 批量删除，返回删除条数
return db.update("""
        delete from aaa_user where id in 
        <foreach collection="idList" open="(" separator="," close=")" item="item">
            #{item}
        </foreach>
    """)